package java69.work720;

public class Employee extends Person {
    protected String office = "合肥科海";//办公室
    protected double wage= 1000;//工资
    protected String hiredate= "2020.07.20";//受雇日期

    public Employee() {
    }

    public Employee(String name, String address, String telohone, String email, String office, double wage, String hiredate) {
        super(name, address, telohone, email);
        this.office = office;
        this.wage = wage;
        this.hiredate = hiredate;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public double getWage() {
        return wage;
    }

    public void setWage(double wage) {
        this.wage = wage;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    public  void show() {
        System.out.println(this.getName()+this.getAddress()+this.getEmail()+this.getTelohone()+this.getHiredate()+this.getOffice()+this.getWage());
    }
}
